<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Title</title>
    <meta name="keywords" content="响应式后台">
    <meta name="description" content="使用了Html5+CSS3等现代技术">

    <link rel="shortcut icon" href="/favicon.ico">
    <link href="/web/css/bootstrap.min14ed.css?v=3.3.6" rel="stylesheet">
    <link href="/web/css/font-awesome.min93e3.css?v=4.4.0" rel="stylesheet">
    <link href="/web/css/plugins/datapicker/datepicker3.css" rel="stylesheet">
    <link href="/web/css/animate.min.css" rel="stylesheet">
    <link href="/web/css/style.min862f.css?v=4.1.0" rel="stylesheet">
    <link href="/web/css/plugins/toastr/toastr.min.css" rel="stylesheet">
</head>
<body class="gray-bg">
<div class="wrapper wrapper-content  animated fadeInRight">
    <div class="row">
        <div class="col-md-12">
            <div class="ibox">
                <div class="ibox-content">
                    <form id="ajaxform" class="form-horizontal" role="form">
                        <input type="hidden" name="id" th:value="${comment.id}">
                        <input type="hidden" id="imgContent" name="imgContent" th:value="${comment.imgContent}">
                        <input type="hidden" id="companyId" name="companyId" th:value="${comment.companyId}">
                        <input type="hidden" id="goodsId" name="goodsId" th:value="${comment.goodsId}">
                        <input type="hidden" id="userId" name="userId" th:value="${comment.userId}">
                        <input type="hidden" id="commentText" name="commentText" th:value="${comment.commentContent}">
                        <div class="form-group">
                            <label class="col-sm-2 control-label">评论内容：</label>
                            <div class="col-sm-5">
                                <textarea type="text" id="commentContent" name="name"  class="form-control" required=""
                                       aria-required="true" maxlength="10" minlength="1" readonly="true"/>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">评论图片：</label>
                            <div id="imgs" class="col-sm-10">
                                <!--<input type="text" name="imgContent" th:value="${comment.imgContent}" class="form-control"-->
                                       <!--aria-required="true" maxlength="50" minlength="1">-->
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">商家名：</label>
                            <div class="col-sm-5">
                                <input type="text" id="companyName" name="companyName" th:value="${comment.companyId}" class="form-control"
                                       aria-required="true" maxlength="50" minlength="1" readonly="true">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">产品名：</label>
                            <div class="col-sm-5">
                                <input type="text" id="goodsName" name="goodsName" th:value="${comment.goodsId}" class="form-control"
                                       aria-required="true" maxlength="50" minlength="1" readonly="true">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">用户名：</label>
                            <div class="col-sm-5">
                                <input type="text" id="username" name="username" th:value="${comment.userId}" class="form-control" required=""
                                       aria-required="true" number="true" range="[0,100]" readonly="true">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">备注：</label>
                            <div class="col-sm-5">
                                <input type="text" name="remark" th:value="${comment.remark}" class="form-control"
                                       aria-required="true" maxlength="50" minlength="1" readonly="true">
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-sm-3"></div>
                            <!--<button id="submitIndustryCreate" class="btn btn-primary col-sm-1">保存</button>-->
                            <!--<div class="col-sm-2"></div>-->
                            <!--<button type="reset" class="btn btn-primary col-sm-1">重置</button>-->
                            <!--<div class="col-sm-2"></div>-->
                            <button id="buttonGoback" class="btn btn-primary col-sm-1">返回</button>
                            <div class="col-sm-3"></div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="/web/js/jquery.min.js?v=2.1.4"></script>
<script src="/web/js/bootstrap.min.js?v=3.3.6"></script>
<script src="/web/js/content.min.js?v=1.0.0"></script>
<script src="/web/js/jquery.form.js?v=3.51"></script>
<script src="/web/js/plugins/datapicker/bootstrap-datepicker.js"></script>
<script src="/web/js/plugins/validate/jquery.validate.min.js"></script>
<script src="/web/js/plugins/validate/messages_zh.min.js"></script>
<script src="/web/js/plugins/toastr/toastr.min.js"></script>
<script src="/web/js/plugins/peity/jquery.peity.min.js"></script>
<script src="/web/js/self/comment_update.js?v=1.0"></script>
</body>
</html>